1 using System.Collections;
2 using
System.Collections.Generic;
3 using
UnityEngine;
4
5 [System.Serializable]

6 public
class PieceData {
7
8     
public GridCoords coords;
9     
public PieceType pieceType;
10     
public PlayerType playerType;
11
12     
public override string ToString() {
13         
return "Piece: \n"
14          +
"\t" + coords.ToString()
15          +
"\n\tPieceType: " + pieceType
16          +
"\n\tPlayerType: " + playerType.ToString();
17
18     }
19 }


Gõ tìm kiếm nhanh...